package com.huizluo.module4.chatroom;

import java.net.Socket;

public class User {

    public Integer getId() {
        return id;
    }

    private Integer id;
    private String username;

    public String getUsername() {
        return username;
    }

    public Socket getConn() {
        return conn;
    }

    private Socket conn;

    public User(Integer id,String username, Socket conn) {
        this.username = username;
        this.conn = conn;
        this.id = id;
    }
}
